﻿@model IEnumerable<RentHouse.DTO.PermissionDTO>
@{
    ViewBag.Title = "PermissionList";
}

@using (Html.BeginForm())
{
<table style="margin-left:300PX">
    <tr>
        <th>
            @Html.DisplayName("Id")
        </th>
        <th>
            @Html.DisplayName("Name")
        </th>
        <th>
            @Html.DisplayName("Description")
        </th>
    </tr>

    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(a => item.Id)
            </td>
            <td>
                @Html.DisplayFor(a => item.Name)
            </td>
            <td>
                @Html.DisplayFor(a => item.Description)
            </td>
        </tr>
    }
</table>
}

